#include <QApplication>
#include "Mainwindow.h"

int main(int argc, char** argv) {

	QApplication app(argc, argv);
	Mainwindow *mainWin = new Mainwindow();
    mainWin->resize(640, 640);
    mainWin->show();
	
	app.connect(&app, SIGNAL(lastWindowClosed()), mainWin, SLOT(quit()));
	return app.exec();
}